#include <iomanip>
#include <iostream>

//
// Created by Asus on 2025/5/13.
//
int main(int argc, char *argv[]) {
    int n[10];

    for (int i = 0; i < 10; i++) {
        n[i] = i +100;
    }
    std::cout << "ele:" << std::setw(13) << "value:" << std::endl;

    // 输出数组中每个元素的值
    for ( int j = 0; j < 10; j++ )
    {
        std::cout << std::setw( 7 )<< j << std::setw( 13 ) << n[ j ] << std::endl;
    }
    return 0;
}
